home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / gfx / 3d / irit50src.lha / irit5 / makefile.djg < prev    next >
Encoding:
Makefile  |  1995-02-19  |  3.2 KB  |  156 lines

  1. #
  2. # This make file is the main make file of the IRIT solid modeller and its
  3. # auxilary tools. Uses DJGCC gcc port form 386 machines.
  4. #
  5. #                Gershon Elber, Nov. 1991
  6. #
  7.  
  8. # Works only on TC++ 1.0 make and up - swap out make before invoking command.
  9. .SWAP
  10.  
  11. # Includes generic definitions.
  12. !include "makeflag.djg"
  13.  
  14. all:    xtra_lib misc_lib cagd_lib symb_lib triv_lib trim_lib \
  15.     prsr_lib geom_lib bool_lib circlink \
  16.     grapdrvs irit poly3d-h illustrt \
  17.     filters docs
  18.     type &&!
  19. Before executing the test suite and/or any usage of this package
  20. you will have to issue the following commands:
  21.  
  22. set IRIT_PATH=$(BIN_DIR)/
  23. set path = %path%;$(BIN_DIR)
  24.  
  25. or similar.
  26. !
  27.  
  28. #
  29. # Uncommend the following variable to only see the actions taken.
  30. #
  31. # VIEW_ONLY = -n
  32.  
  33. poly3d-h:
  34.     cd poly3d-h
  35.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  36.     cd ..
  37.  
  38. illustrt:
  39.     cd illustrt
  40.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  41.     cd ..
  42.  
  43. xtra_lib:
  44.     cd xtra_lib
  45.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  46.     cd ..
  47.  
  48. misc_lib:
  49.     cd misc_lib
  50.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  51.     cd ..
  52.  
  53. cagd_lib:
  54.     cd cagd_lib
  55.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  56.     cd ..
  57.  
  58. symb_lib:
  59.     cd symb_lib
  60.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  61.     cd ..
  62.  
  63. trim_lib:
  64.     cd trim_lib
  65.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  66.     cd ..
  67.  
  68. triv_lib:
  69.     cd triv_lib
  70.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  71.     cd ..
  72.  
  73. prsr_lib:
  74.     cd prsr_lib
  75.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  76.     cd ..
  77.  
  78. geom_lib:
  79.     cd geom_lib
  80.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  81.     cd ..
  82.  
  83. grapdrvs:
  84.     cd grapdrvs
  85.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  86.     cd ..
  87.  
  88. bool_lib:
  89.     cd bool_lib
  90.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  91.     cd ..
  92.  
  93. circlink:
  94.     cd circlink
  95.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  96.     cd ..
  97.  
  98. irit:
  99.     cd irit
  100.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  101.     cd ..\docs
  102.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  103.     cd ..
  104.  
  105. filters:
  106.     cd filters
  107.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
  108.     cd ..
  109.  
  110.  
  111. clean:
  112.     -rm poly3d-h\*.map poly3d-h\*.bak poly3d-h\*.old poly3d-h\*.hdn poly3d-h\*.sym
  113.     -rm illustrt\*.map illustrt\*.bak illustrt\*.old illustrt\*.gif illustrt\*.sym
  114.     -rm filters\*.map filters\*.bak filters\*.old filters\*.sym
  115.     -rm prsr_lib\*.map prsr_lib\*.bak prsr_lib\*.sym
  116.     -rm geom_lib\*.map geom_lib\*.bak geom_lib\*.sym
  117.     -rm cagd_lib\*.map cagd_lib\*.bak cagd_lib\*.sym
  118.     -rm symb_lib\*.map symb_lib\*.bak symb_lib\*.sym
  119.     -rm trim_lib\*.map trim_lib\*.bak trim_lib\*.sym
  120.     -rm triv_lib\*.map triv_lib\*.bak triv_lib\*.sym
  121.     -rm grapdrvs\*.map grapdrvs\*.bak grapdrvs\*.sym
  122.     -rm circlink\*.map circlink\*.bak circlink\*.sym
  123.     -rm xtra_lib\*.map xtra_lib\*.bak xtra_lib\*.sym
  124.     -rm misc_lib\*.map misc_lib\*.bak misc_lib\*.sym
  125.     -rm irit\*.map irit\*.bak irit\*.old irit\*.sym irit\*.dat
  126.     -rm docs\irithlp.exe
  127.  
  128. cleanobj:
  129.     -rm poly3d-h\*.o illustrt\*.o irit\*.o
  130.     -rm filters\*.o cagd_lib\*.o symb_lib\*.o xtra_lib\*.o
  131.     -rm misc_lib\*.o prsr_lib\*.o geom_lib\*.o grapdrvs\*.o
  132.     -rm trim_lib\*.o trim_lib\*.o
  133.     -rm circlink\*.o docs\*.o docs\irithlp.exe
  134.  
  135. #
  136. # Make hardcopy documentation.
  137. #
  138. docs:
  139.     cd docs
  140.     -$(MAKE) $(VIEW_ONLY) -fmakefile.djg irit.tex irit.doc
  141.     cd ..
  142.  
  143. #
  144. # Test some of the above programs. Make sure $(BIN_DIR) is in your path
  145. #
  146. test:
  147.     cd irit
  148.     -irit demo
  149.     cd ..\poly3d-h
  150.     -test-dos
  151.     cd ..\illustrt
  152.     -test-dos
  153.     cd ..\filters
  154.     -test-dos
  155.     cd ..
  156.